import Mock from 'mockjs';

let item = [{
		key: "/bm/all",
		method: "get",
		param: {
			
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA|1-4': [{
					"storeid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					"sname": "@cword(6,9)",
					"sdz": "@csentence",
					"jd": "31.269689",
					"wd": "121.305338",
					"fm": "@image('200x200')",
					"sheng": "code",
					"shengmc": "黑龙江省",
					"shi": "code",
					"shimc": "哈尔滨市",
					"qu": "code",
					"qumc": "道里区",

				}]
			});
		}
	},
	{
		key: "/bm/page",
		method: "get",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					'current': 0,
					'size': 10,
					'pages': 6,
					'total': 55,
					"records|12": [{
						"bmid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
						"clientid": "111",
						"kcmc": "@cword(6,9)课",
						"cover": "https://bpic.588ku.com//back_origin_min_pic/23/06/29/c2d6085b7af69a723f5beb4360fe94be.jpg",
						"jlid": "222",
						"jlmc": "@cname",
						"jcover": "https://bpic.588ku.com/element_origin_min_pic/25/02/19/d8244106087c5e8d80fdbe3e602771a3.jpg",
						"kcid": "333",
						"khmc": "@cname",
						"headimg": "https://bpic.588ku.com/element_origin_min_pic/25/02/20/caec7bf28195188ed5f115a1075e0fd8.jpg",
						"stu": "P",
						// "sname": "@cword(6,9)",
						// "sdz": "@csentence",
						// "jd": "31.269689",
						// "wd": "121.305338",
						// "fm": "@image('200x200')",
						// "sheng": "code",
						// "shengmc": "黑龙江省",
						// "shi": "code",
						// "shimc": "哈尔滨市",
						// "qu": "code",
						// "qumc": "道里区",
					}]
				}
			});
		}
	},
	{
		key: "/bm/info",
		method: "get",
		prarm: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					
					aclientbm: {
						"bmid": "1001",
						"clientid": "01",
						"jlid": "01",
						"kcid": "01",
						"price": 500,
						"pflg|1": [true, false],
						// "sort": "",
						"ct": "@date()",
						"stu|1": ["P", "B", "S", "F", "R", "T","C","J","E"],
					},
					client:{
						"clientid": "01",
						'nc': "@cname()",
						"headimg": "https://bpic.588ku.com/element_origin_min_pic/25/02/20/caec7bf28195188ed5f115a1075e0fd8.jpg",
						"tel|11": /[0-9]/,
					},
					ajiaolian:{
						"jlid": "01",
						"jlname": "@cname()",
						"cover": "https://bpic.588ku.com/element_origin_min_pic/25/02/19/d8244106087c5e8d80fdbe3e602771a3.jpg",
						"tel|11": /[0-9]/,
					},
					akecheng:{
						"kcid": "01",
						"kcname": "@cword(6,9)课",
						"jlid": "01",
						"roomid": "01",
						"storeid": "01",
						"st": "@datetime()",
						"et": "@datetime()",
						"kclxid": "塑身型",
						"cover": "https://bpic.588ku.com//back_origin_min_pic/23/06/29/c2d6085b7af69a723f5beb4360fe94be.jpg",
					},
					aroom:{
						"roomid": "01",
						"rname": "一号房",
						"cover": "https://bpic.588ku.com//back_origin_min_pic/23/06/29/c2d6085b7af69a723f5beb4360fe94be.jpg",
					},
					astore:{
						"storeid": "01",
						"sname": "健身俱乐部",
						"address": "辽宁省大连市甘井子区@cword(100)",
						"pcode": "110000",
						"scode": "110100",
						"qcode": "110101",
					},
					adz:{
					"dzid": "01",
					"cover": "https://bpic.588ku.com//back_origin_min_pic/23/04/19/01b0f50df525fb910efdd27811fdc01b.jpg",
					"dname": "@cname()",
					"tel|11": /[0-9]/,
					},
					
					// "bmid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					// "clientid": "111",
					// "khmc": "@cname",
					// "khtel": "15636259864",
					// "kcid": "333",
					// "kcmc": "@cname",
					// "price": 99,
					// "stu": "P",
					// "pflg": "0",
					// "roomid": "666",
					// "rname": "猪猪仓库",
					// "ct": "@date()",
					// "st": "@datetime()",
					// "jlid": "222",
					// "jlmc": "@cname",
					// "jltel": "12563564589",
					// "storeid": "333",
					// "sname": "健身达人俱乐部",
					// "address": "大连市——",
					// "dzid": "555",
					// "dname": "@cname",
					// "dtel": "15632564896",
					
					
					// "storeid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					// "sname": "@cword(6,9)",
					// "sdz": "@csentence",
					// "jd": "121.305338",
					// "wd": "31.269689",
					// "fm": "@image('200x200')",
					// "sheng": "code",
					// "shengmc": "黑龙江省",
					// "shi": "code",
					// "shimc": "哈尔滨市",
					// "qu": "code",
					// "qumc": "道里区",
				}
			})
		}
	},

	{
		key: "/bm/info",
		method: "post",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/bm/info",
		method: "put",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/dz/info",
		method: "delete",
		param: {
			empId: '',
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},

]
export default item;